package com.itheima.d1_static_field;

public class User {
     static  int number;

    public User() {
       // User.number++;
        //在当前类中调用类变量类名可以省略
        number++;
    }
}
